div.modal.fade(id="fileupload" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true")
  div.modal-dialog
    div.modal-content
      .modal-header
        button.close(type="button" data-dismiss="modal")
          span(aria-hidden="true") &times;
          span.sr-only Close
        h4.modal-title(id="myModalLabel")
      div.modal-body
        form.well.form-horizontal(id="fileupload-upload" method='post', enctype="multipart/form-data", action='')
          fieldset
            legend 文件上传
            .form-group.hidden
              input.hidden(ng-model='formData.user', ng-init='formData.user=username="#{user.name}"')
            .form-group
              label.col-lg-2.control-label.hidden(for='software') software
              .col-lg-10.hidden
                input.form-control(type='text', name='software' value='#{cs}' id='software')
            .form-group
              label.col-lg-2.control-label(for='package') 文件
              .col-lg-10
                input#package.form-control(type='file', name='package')
            .form-group
              label.col-lg-2.control-label(for='description') 描述
              .col-lg-10
                textarea#description.form-control(ng-model='formData.text')
                .checkbox
                  label
                    input#ismailnotify(type="checkbox", name="ismailnotify")
                    |邮件通知用户
            .form-group.pull-right
              .col-lg-10.col-lg-offset-2
                button.btn.btn-primary(type="submit" ng-click='createTodo()') 提交
      div.modal-footer.hidden
        button(type="button" class="btn btn-default" data-dismiss="modal") Close

